package com.ruoyi.project.manhua.webLook.entity;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;


/**
 * 漫画评论
对象 mh_comment
 *
 * @author yuan
 * @date 2021-01-27
 */
public class MhWebComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 漫画id */
    @Excel(name = "漫画id")
    private Long nameId;

    /** 上级id 0为顶级 */
    @Excel(name = "上级id 0为顶级")
    private Long superior;

    /** 评论用户名称 */
    @Excel(name = "评论用户名称")
    private String userName;

    /** 头像 */
    @Excel(name = "头像")
    private String head;


    /** 点赞 */
    @Excel(name = "点赞")
    private Integer give;

    @Excel(name = "类型 1 一级评论，2二级评论，3三级评论")
    private String type;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /**分页的条数*/
    private Integer strip;

    /**页数 几条数据*/
    private Integer page;

    /**状态*/
    private String state;


    public MhWebComment(Long nameId, Long superior, Integer strip, Integer page, String state) {
        this.nameId = nameId;
        this.superior = superior;
        this.strip = strip;
        this.page = page;
        this.state = state;
    }



    public MhWebComment(Long nameId, Long superior) {
        this.nameId = nameId;
        this.superior = superior;
    }

    public MhWebComment(Long nameId) {
        this.nameId = nameId;
    }

    public MhWebComment(Long nameId,String type, String state) {
        this.nameId = nameId;
        this.type = type;
        this.state = state;
    }

    public MhWebComment(Long nameId, Long superior,String type, String state) {
        this.nameId = nameId;
        this.type = type;
        this.state = state;
        this.superior = superior;
    }

    public MhWebComment() {
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNameId() {
        return nameId;
    }

    public void setNameId(Long nameId) {
        this.nameId = nameId;
    }

    public Long getSuperior() {
        return superior;
    }

    public void setSuperior(Long superior) {
        this.superior = superior;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public Integer getGive() {
        return give;
    }

    public void setGive(Integer give) {
        this.give = give;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getStrip() {
        return strip;
    }

    public void setStrip(Integer strip) {
        this.strip = strip;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "MhWebComment{" +
                "id=" + id +
                ", nameId=" + nameId +
                ", superior=" + superior +
                ", userName='" + userName + '\'' +
                ", head='" + head + '\'' +
                ", give=" + give +
                ", delFlag='" + delFlag + '\'' +
                ", strip=" + strip +
                ", page=" + page +
                ", state='" + state + '\'' +
                '}';
    }
}
